package com.shigen.demo.shorturl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author shigenfu
 * @date 2023/10/14 12:48
 */
@Data
@Accessors(chain = true)
@TableName(value = "short_link")
public class ShortLink {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String originUrl;
    private String shortCode;
    private Integer createTime;
    private Long creator;
}
